--
-- DESCRIPTION
--
-- @COMPANY **
-- @AUTHOR **
-- @DATE ${date} ${time}
--

---@type GM_Action_C
local M = UnLua.Class()

local BP_CaptainClass = UE.UClass.Load("/Script/Engine.Blueprint'/ActionPlatformer/Blueprints/Characters/Captain/BP_Captain.BP_Captain_C'")

-- function M:Initialize(Initializer)
-- end

function M:UserConstructionScript()
    self.DefaultPawnClass = BP_CaptainClass
end

-- function M:ReceiveBeginPlay()
-- end

-- function M:ReceiveEndPlay()
-- end

-- function M:ReceiveTick(DeltaSeconds)
-- end

-- function M:ReceiveAnyDamage(Damage, DamageType, InstigatedBy, DamageCauser)
-- end

-- function M:ReceiveActorBeginOverlap(OtherActor)
-- end

-- function M:ReceiveActorEndOverlap(OtherActor)
-- end

function M:RestartGame()
    UE.UGameplayStatics.OpenLevel(self, UE.UGameplayStatics.GetCurrentLevelName(self), true)
end

return M
